<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/html">
<head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand"/>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no"/>
    <title>碧叶之源</title>
<#--<meta name="keywords" content="关键词,5个左右,单个8汉字以内">-->
    <meta name="keywords" content="岗位新增"/>
<#--<meta name="description" content="网站描述，字数尽量空制在80个汉字，160个字符以内！">-->
    <meta name="description" content="欢迎进入碧叶之源！"/>


<#--妹子UI-->
    <link type="text/css" rel="stylesheet" href="/plugin/amaze/css/amazeui.min.css"/>
    <link type="text/css" rel="stylesheet" href="/plugin/amaze/css/amazeui.datatables.min.css"/>
    <link type="text/css" rel="stylesheet" href="/plugin/amaze/css/app.css">
    <#--ztree树容器-->
    <link rel="stylesheet" href="/plugin/ztree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">

<#--自己的样式-->
    <link type="text/css" rel="stylesheet" href="/css/ztree/main.css">
    <style type="text/css">

    </style>

</head>


<body>


<body data-type="widgets">

<div class="am-g tpl-g">


    <div class="row-content am-cf">


        <div class="row">

            <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                <div class="widget am-cf">
                    <div class="widget-head am-cf">
                        <div class="widget-title am-fl">岗位新增</div>
                        <div class="widget-function am-fr">
                            <a href="javascript:;" class="am-icon-cog"></a>
                        </div>
                    </div>
                    <div class="widget-body am-fr">

                        <form class="am-form tpl-form-border-form tpl-form-border-br" id="formPost">
                            <div>
                                <input type="hidden" id="orgId" name="orgId" value="${orgId!''}" />
                                <input type="hidden" id="operationType" name="operationType" value="${operationType!''}" />
                                <input type="hidden" id="id" name="id" value="${postEdit.id!''}" />
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">岗位|职位 名称 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" value="${postEdit.name!''}" id="name" name="name" placeholder="请输入岗位|职位 名称">
                                    <small><span class="required"> * </span>岗位名称指这个工作岗位的称呼，比如董事长、主任、主任等。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">职业类型 <span class="tpl-form-line-small-title">类型</span></label>
                                <div class="am-u-sm-9">
                                    <select onclick="getMovingData(this, &quot;<option class=\'selectOpenStyle\' value=\'-1\'>请选择职业类型</option>&quot;, &quot;9&quot;, &quot;type&quot;)" name="type" id="type" >
                                        <#if ((postEdit.type!'')??) && ((postEdit.type!'') == '')>
                                            <option class="selectOpenStyle" value="-1">请选择职业类型</option>
                                        <#else >
                                            <option class="selectOpenStyle" value="${postEdit.type!''}">${type!''}</option>
                                        </#if>

                                    </select>
                                    <small>职业类型指岗位的属性，是岗位的分类。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">职位职责说明 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" value="${postEdit.explanation!''}" id="explanation" name="explanation" placeholder="请输入职位说明">
                                    <small>岗位|职位的职责。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">是否领导职务 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="radio" <#if ((postEdit.isLeader!'') == '1')>checked </#if> id="isLeader1" name="isLeader"  value="1"> 是
                                    <input type="radio" <#if ((postEdit.isLeader!'') == '2')>checked </#if> id="isLeader2" name="isLeader"  value="2"> 否
                                    <br/>
                                    <small><span class="required"> * </span>领导职务是在该部门或者机构担任主要领导职能的职务。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">行政级别 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <select onclick="getMovingData(this, &quot;<option class=\'selectOpenStyle\' value=\'-1\'>请选择要求行政级别</option>&quot;, &quot;1&quot;, &quot;postLevel&quot;)" name="postLevel" id="postLevel" >
                                        <#if ((postEdit.postLevel!'')??) && ((postEdit.postLevel!'') == '')>
                                            <option class="selectOpenStyle" value="-1">请选择要求行政级别</option>
                                        <#else >
                                            <option class="selectOpenStyle" value="${postEdit.postLevel!''}">${postLevel!''}</option>
                                        </#if>
                                    </select>
                                    <small>该选项主要针对政府机构部门，非政府机构部门不需要填写。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">职务级别 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <select onclick="getMovingData(this, &quot;<option class=\'selectOpenStyle\' value=\'-1\'>请选择职务要求级别</option>&quot;, &quot;10&quot;, &quot;grade&quot;)" name="grade" id="grade" >
                                        <#if ((postEdit.grade!'')??) && ((postEdit.grade!'') == '')>
                                            <option class="selectOpenStyle" value="-1">请选择职务要求级别</option>
                                        <#else >
                                            <option class="selectOpenStyle" value="${postEdit.grade!''}">${grade!''}</option>
                                        </#if>
                                    </select>
                                    <small>该选项主要针对政府机构部门，非政府机构部门不需要填写。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">军衔 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <select onclick="getMovingData(this, &quot;<option class=\'selectOpenStyle\' value=\'-1\'>请选择职务要求军衔</option>&quot;, &quot;6&quot;, &quot;rank&quot;)" name="rank" id="rank" >
                                        <#if ((postEdit.rank!'')??) && ((postEdit.rank!'') == '')>
                                            <option class="selectOpenStyle" value="-1">请选择职务要求军衔</option>
                                        <#else >
                                            <option class="selectOpenStyle" value="${postEdit.rank!''}">${rank!''}</option>
                                        </#if>
                                    </select>
                                    <small>该选项主要针对军事机构部门，非政府机构部门不需要填写。</small>
                                </div>
                            </div>

                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">职称 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" value="${postEdit.jobTitle!''}" id="jobTitle" name="jobTitle" placeholder="请输入岗位要求职称">
                                    <small>该选项主要针对企业以及事业单位等。</small>
                                </div>
                            </div>



                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">岗位显示顺序 <span class="tpl-form-line-small-title"></span></label>
                                <div class="am-u-sm-9">
                                    <input type="text" class="tpl-form-input" value="${postEdit.sort!''}" id="sort" name="sort" placeholder="请输入岗位显示顺序">
                                    <small>岗位显示顺序指查询的时候的排序，数字越小，排序越前。注意：只能是数字且默认数值越小，在该部门下岗位级别越高</small>
                                </div>
                            </div>




                            <div class="am-form-group" style="text-align: center">
                                <div class="am-u-sm-9 am-u-sm-push-3" >
                                    <#if (operationType!'') == "add">
                                        <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success "  onclick="addOrUpdatePost()">新增</button>
                                    <#elseif (operationType!'') == "upd">
                                        <button type="button" class="am-btn am-btn-primary tpl-btn-bg-color-success "  onclick="addOrUpdatePost()">更新</button>
                                    </#if>
                                    &nbsp;&nbsp;
                                    <button type="button" class="am-btn am-btn-success "  onclick="colsePage()">关闭</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>


</div>








<#--JS 部分 -->
<script type="text/javascript" src="/js/common/jquery.min.js"></script>
<script type="text/javascript" src="/js/common/base.js"></script>
<#--妹子UI-->
<script type="text/javascript" src="/plugin/amaze/js/amazeui.min.js"></script>
<script type="text/javascript" src="/plugin/amaze/js/app.js"></script>
<script type="text/javascript" src="/plugin/amaze/js/theme.js"></script>
<#--layer.js，只需要引入这个，css会自动引入-->
<script type="text/javascript" src="/plugin/layer-v3.1.1/layer.js"></script>
<#--laydate.js 时间组件-->
<script type="text/javascript" src="/plugin/laydate/laydate.js"></script>


<#--自己的js-->
<script type="text/javascript" src="/js/ztree/mian-post.js"></script>
<script type="text/javascript">




</script>


</body>


</html>
